package com.zeng.stpro.modules.app.bean;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@ToString
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_role")
public class SysRole implements Serializable {

    @TableId(value = "role_id")
    private Long roldId;
    private String roleName;
    private String roleCode;
    private String deleteStatus;//删除标志（0代表存在 1代表删除）
    private Long createByUserid;
    private Long updateByUserid;
    private String remark;

    @TableField(fill = FieldFill.INSERT)
    private Date createAt;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateAt;

}
